#include <stdio.h>
int power(int base, int n);
int main(int argc, char const *argv[])
{
    int base, n, a;
    printf("base n\n");
    scanf("%d %d", &base, &n);
    a = power(base, n);
    printf("%d\n", a);
    return 0;
}

int power(int base, int n)
{
    int i = 1, p = 1;
    for (i = 1; i <= n; i++)
    {
        p = p * base;
    }
    return p;
}